projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a260fe
)
tools/proftool: remove REG_NOERROR
author
Andreas Bießmann
<
[email protected]
>
Tue, 2 Jul 2013 06:37:36 +0000
(08:37 +0200)
committer
Tom Rini
<
[email protected]
>
Wed, 3 Jul 2013 13:35:37 +0000
(09:35 -0400)
Remove non portable usage of REG_NOERROR.
BSD (like OS X) variants of regex.h do not declare REG_NOERROR, even GNU
regex(3) does not mention REG_NOERROR, just remove it.
Signed-off-by: Andreas Bießmann <
[email protected]
>
Acked-by: Jeroen Hofstee <
[email protected]
>
tools/proftool.c
patch
|
blob
|
history
diff --git
a/tools/proftool.c
b/tools/proftool.c
index a48ed286a5f240de526f4be50bd03463465fdb72..aa05e77ece547f352f1c0919dcf21f8b8a093773 100644
(file)
--- a/
tools/proftool.c
+++ b/
tools/proftool.c
@@
-333,7
+333,7
@@
static void check_trace_config_line(struct trace_configline_info *item)
if (err == REG_NOMATCH)
continue;
- if (err
!= REG_NOERROR
) {
+ if (err) {
regex_report_error(&item->regex, err, "match",
item->name);
break;